package org.tis.tools.abf.module.jnl.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.tis.tools.model.common.ResultVO;
import org.tis.tools.model.log.LogDataChange;
import org.tis.tools.starter.mybatisplus.querykit.model.Query;

/**
 * Created by chenchao
 * Created on 2018/9/1 10:05
 */
@FeignClient("operatelog-service")
public interface ILogDataChangeAbfFeignService {

    @PostMapping(value = "/v1/api/logChange/pageByDataId", consumes = "application/json")
    ResultVO page(Query<LogDataChange> query);

    @GetMapping(value = "/v1/api/logChange/{id}", consumes = "application/json")
    ResultVO detial(@PathVariable(value = "id") String id);

}
